/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: yinsh
 * Date: 2025-01-12
 * Time: 21:43
 */
public class Calculator {
    int num1;
    int num2;
    public Calculator(int num1,int num2) {
        this.num1 = num1;
        this.num2 = num2;
    }
    public int add() {
        return num1 + num2;
    }
    public int sub() {
        return num1 - num2;
    }
}
